
<div class="pageContent">


	<form method="post" enctype="multipart/form-data" onsubmit="return iframeCallback(this, dialogAjaxDone)" action="__URL__/uploadsf/navTabId/__MODULE__" class="pageForm required-validate">
		<input type="hidden" name="user_id" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>
		<input type="hidden" name="id" value="{$vo.id}" />
		<div class="pageFormContent" layoutH="58">
         <table class="list" width="95%">
          <tr>
           <td>商品全称：</td><td>{$vo.prodname}</td>
          </tr>
          <tr>
           <td>料&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</td><td>{$vo.partnumber}</td>
          </tr>
          <tr>
           <td>型&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</td><td>{$vo.partmodel}</td>
          </tr>
          <tr>
           <td>规&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;格：</td><td>{$vo.prodsize}</td>
          </tr>
          <tr>
           <td>材&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;质：</td><td>{$vo.pmaterial}</td>
          </tr>
          <tr>
           <td>产&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;地：</td><td>{$vo.porigin}</td>
          </tr>
          <tr>
           <td>品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;牌：</td><td>{$vo.pbrand}</td>
          </tr>
          <tr>
           <td>上传文件名称：</td>
           <td><input type="text" size="50" name="newfilename" class="required" /></td>
          </tr>         
          <tr>
           <td>选择上传附件：</td><td><input name="filename" type="file" /></td>
          </tr>
          <tr>
           <th colspan="2">已上传的附件({$list|count}笔)：</th>
          </tr>
          <tr>
           <td colspan="2">
             <table class="list" width="100%">
                <tr>
                 <th>序号</th>
                 <th>附件</th>
                 <th>上传时间</th>
                 <th>操作</th>
                </tr>
                <volist id="vo" name="list">
                   <tr>
                   <td>{$key+1}</td>
                   <td><a class="btnAttach" href="__PUBLIC__/Uploads/Files/{$vo.fileurl}" target="_blank">{$vo.filename}</a>{$vo.filename}</td>
                   <td>{$vo.uploadtime|date="Y-m-d H:i:s",###}</td>
                   <td><a class="delete" href="__URL__/delFiles/id/{$vo['id']}" target="ajaxTodo" title="你确定要删除吗？">删除</a></td>
                   </tr>
                </volist>
             </table>
           </td>
           
          </tr>
          
         </table>            		
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">確認上传附件</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消返回</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>



